package com.juntuo.service.impl;

import com.juntuo.entity.XjChickPointsRecord;
import com.juntuo.mapper.XjChickPointsRecordMapper;
import com.juntuo.service.XjChickPointsRecordService;
import com.juntuo.service.helper.CommonService;
import com.juntuo.service.helper.CommonServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;

@Service
public class XjChickPointsRecordServiceImpl extends CommonServiceImpl<XjChickPointsRecord> implements XjChickPointsRecordService {
    @Resource
    private XjChickPointsRecordMapper xjChickPointsRecordMapper;
    @Override
    public Date selectLastFeedTimeByUserId(Integer user_id) {
        return xjChickPointsRecordMapper.selectLastFeedTimeByUserId(user_id);
    }
}